package com.yu.myiptv;

public class Channel {
    private String channelId;
    private String name;
    private String url;

    public Channel(String channelId, String name, String url) {
        this.channelId = channelId;
        this.name = name;
        this.url = url;
    }

    public int getChannelId() {
        return Integer.parseInt(channelId);
    }

    public void setChannelId(String channelId) {
        this.channelId = channelId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }
}
